/**
 * @Description:格式化文本框
 * @author tangyuhui
 * @date 2021/5/7 17:24
 */
export function formatterText(key) {
  return function(h, params) {
    return h('div', params.row[key] || '-')
  }
}

export function wrapFormatter(h, value) {
  return h('div', value || '-')
}
